package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.PsychologicalKnowledge;
import com.github.pagehelper.Page;

import java.util.List;

/**
* @author 30658
* @description 针对表【psychological_knowledge】的数据库操作Mapper
* @createDate 2025-01-02 15:11:37
* @Entity com.example.springbootsfzy.domain.PsychologicalKnowledge
*/
public interface PsychologicalKnowledgeMapper {

    List<PsychologicalKnowledge> selectByConsultantId(int consultantId);

    int deleteByPrimaryKey(int id);

    int insert(PsychologicalKnowledge record);

    int insertSelective(PsychologicalKnowledge record);

    PsychologicalKnowledge selectByPrimaryKey(int id);

    int updateByPrimaryKeySelective(PsychologicalKnowledge record);

    int updateByPrimaryKey(PsychologicalKnowledge record);

    Page<PsychologicalKnowledge> getAllPsychologicalKnowledge();

}
